﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace CSharpDay12__Many_to_Many_.Models
{
    public class Ship
    {
        public int Id { get; set; }
        public string Name { get; set; }

        public double BaseWeight { get; set; }

        public double GrossTonnage { get; set; }

        public CanalSize CanalSize { get; set; }

        public bool IsAtSea { get; set; }
        //references all the cargo
        public virtual List<Ship_Cargoe> ShipsCargoes { get; set; }

    }
    public enum CanalSize
    {
        Panamax,
        PostPanamax,
        NewPanamax,
        ChinaMax,
        Seawaymax,
        Suezmax

    }
}